Add support for `cargo --explain`
authorAlex Crichton <alex@alexcrichton.com>
Fri, 8 Apr 2016 00:27:49 +0000 (17:27 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 21 Apr 2016 16:46:12 +0000 (09:46 -0700)
commit8dad57e8d64d32cca4d7cd9ada227eec8ba79bbc
treea6a6c13e305342ed8c73a8344c593f74fd4e4934
parentbf3f531332254db0edd5cd92018b0ad28ef53974
Add support for `cargo --explain`

The error messages in the compiler are being tweaked and will likely drop the
`rustc --explain` part of the error message in favor of `--explain`. In that
case you're expected to basically take whatever tool you're using and pass
`--explain` to it with an error code, so let's add it to Cargo as well!
src/bin/cargo.rs
tests/test_cargo.rs